import request from "@/utils/request";
class Method {
  async getImage(params) {
    let res = await request({
      url: "/travel/indexSwiper",
      method: "get",
      params,
    });
    let imageList = res;
    console.log(imageList, "Modif");
    imageList.list.forEach((item) => {
      if (item.imageType == "indexSwiper") {
        console.log(item);
      }
    });
    return imageList;
  }
}
let methods = new Method();
export default methods;
